package com.ccys.cms.service.masterData;

import com.ccys.common.vo.ResponseResult;
import com.ccys.db.dto.masterData.CompanyIdDto;
import com.ccys.db.dto.masterData.CompanyPageQueryDto;
import com.ccys.db.dto.masterData.CompanySaveDto;
import com.ccys.db.entity.TblCompany;
import com.ccys.db.rely.service.BaseService;
import com.ccys.db.vo.masterData.CompanyPageQueryVo;
import com.github.pagehelper.PageInfo;

/**
 * @program: WhiteCoat
 * @description: 集团接口
 * @author: ZhangJingCan
 * @create: 2023-12-14 10:38
 **/
public interface CompanyService extends BaseService<TblCompany> {
    ResponseResult saveCompany(CompanySaveDto dto);

    ResponseResult deleteCompany(CompanyIdDto dto);

    ResponseResult updateCompanyStatus(CompanyIdDto dto);

    ResponseResult<PageInfo<CompanyPageQueryVo>, Object> findPageCompany(CompanyPageQueryDto dto);
}
